
#ifdef ONLINE_JUDGE
    #include<stdio.h>
    #define INPUT stdin
    int main() {
#else
    #include"header.h"
    #define INPUT fptIn
    int acm_11172() {
        printf("--ACM 11172 begin here--\n");
        FILE *fptIn = fopen("Resource/acm_11172.txt","r");
        if ( fptIn == NULL )//Distinguish the fptInIn file is load success.
        {
            printf("File acm_11172.txt load fail.\n");
            printf("Program will exit.\n");
            return EXIT_FAILURE;
        }

#endif

    int runTimes, value1, value2;
    for (fscanf(INPUT, "%d", &runTimes); runTimes > 0; runTimes = runTimes - 1) {
        fscanf(INPUT, "%d %d", &value1, &value2);
        if (value1 > value2) {
            fprintf(stdout, ">\n");
        } else {
            if (value1 < value2) {
                fprintf(stdout, "<\n");
            } else {
                fprintf(stdout, "=\n");
            }
        }
    }
    #ifndef ONLINE_JUDGE
        printf("--ACM 11172 end here--\n");
        fclose(fptIn);
    #endif
    return 0;
}
/*
 #		Problem	                Verdict	      Language  Run Time   Submission Date
9021641	11172	Relational Operator	Accepted      ANSI C	0.004	   2011-07-06 12:46:06
9020290	11172	Relational Operator	Accepted      ANSI C	0.036	   2011-07-06 04:10:09
 */
